Trans and bisexual Jew here. As with all questions of Jewish law, the answer can be found, and optionally ignored, in the Talmud:
From where do we derive the prohibition and punishment for homosexual intercourse with a male? It is as the Sages taught in a baraita with regard to the verse: “And if a man lies with a male as with a woman, both of them have committed an abomination; they shall be put to death, their blood shall be upon them” (Leviticus 20:13): The word “man” excludes a minor boy. The phrase “lies with a male” is referring to any male, whether he is an adult man or whether he is a minor boy. The phrase “as with a woman [mishkevei isha],” referring to lying with a woman, appears in the plural. The verse teaches you that there are two manners of lying with a woman for which one who engages in intercourse with a woman forbidden to him is punished, vaginal and anal intercourse.
Sanhedrin 54a
Another fun law I just learned by looking this up
A man who engages in intercourse with a male or with an animal, and a woman who engages in intercourse with an animal, are executed by stoning. The animal is likewise stoned to death.
Sanhedrin 54a
The mishna teaches that Rabbi Yehuda says: A bachelor may not herd cattle, nor may two bachelors sleep with one covering. It is taught in the Tosefta (5:10): They said to Rabbi Yehuda: Jews are not suspected of engaging in homosexual intercourse nor of engaging in intercourse with an animal.
Kiddushin 82a