Male and female has worked for a long time.
The vast majority do fit into those groups and happily so.
There is however a small number who dont. We used to bully and ridicule them so they felt they had to shoehorn themselves into one or the other but didnt really fit.
Thats why male and female worked for a long time.
It still mostly works but surely we can make space for the small minority that are different?