Re: Non binary DNA
Assuming XX == female and XY == male is correct over 99% of the time. Naturally-occurring faults in the genetics of gender generally don't breed true, hence are heavily selected against by evolution (unless a different form of kin selection is at play; see also Social Darwinism).
That we now have a few edge cases merely means that an exception needs to be put into the software; something on the lines of "This person falls into the *other* category".