The good old term “eunuch” works for me.
I remember reading that in ancient Greece there was a cult, I think it was the worship of Cybele, in which the participant males would sometimes cut off their genitals. Mental illness has been around for a long, long time.