According to the study of languages, there are 3 genders: Masculine, feminine, and neuter. So, if you ain’t a man or a woman, you ain’t nothing but a neutered person.
Even a eunuch was a male to start with even if he had all his genitals cut off. Someone can not change their XY to an XX chromosome at the cellular level. At least not yet. Maybe someday science will discover a way to do that or move your brain into a live grown body of the sex/gender one wants to be but we ain’t there yet.