No, neither one is binary. Biological sex is more complicated than XX = female and XY = male, or penis = male, vagina = female, etc. We’re still learning about this, but at this point it’s probably most accurate to categorize biological sex as a process.