Traditionally religious people often claim that the Torah requires them to exclude, exile, or condemn transgender people, but the Torah never commands or encourages that kind of behavior. None of the Torah's laws requires the Israelite community to treat people whose appearance or behavior doesn't fit binary norms as defiled or defiling.
— Joy Ladin, “The Soul of the Stranger: Reading G-d and Torah from a Transgender Perspective”