Dear Rav Kornfeld,
My chaver Heshy ccd on this question but didn't have the occasion to ask in shiur over weekend.
The gemara spells out a man or a woman , what about an androgynous person committing any of these acts?
Since an Androginus is a Safek Zachar, Safek Nekeivah, all the prohibitions concerning Arayos, both to men and to women, apply to him as well. However, he is not punishable at the hand of Beis Din (with the exceptions of the Isur of Mishkav Zachar, which is applicable to both men and women).
Wishing you a Kesivah v'Chasimah Tovah,