According to Osho, gender belongs to the body, while sexuality is governed by mind-based centers; genitals are only extensions. When one fully lives and exhausts sexual desire, a silence arises: anti-sex, or beyond sex. Then the body may remain male or female, but your being is neither. Sexuality is a mental program; transcendence reveals a genderless consciousness—the buddha state.
Your body can be male or female, but sex happens in the mind; when you explore it fully and grow beyond it, you discover a peaceful you that isn’t boy or girl.