How some jurisdictions choose to legally define sex is a separate issue. For instance, in some countries, the law is such that people who desire to be the opposite sex can have the sex in their passport changed to reflect this desire. So a male, with penis and testicles, who wants to be female, can legally obtain a passport with an 'F' marker in the sex field. This does not mean he is actually female - from a material biological perspective he is and will always be male.
It's taken as binary because the biological difference doesn't result in a meaningful physiological difference. That doesn't mean it's "anti-science" to have an alternative take. Consider that "The biological understanding of sex" as used in your comment should logically be understood as "A common interpretation of the biological understanding of sex". It might suddenly become clear that "it is a binary of male and female" as used in your comment is actually an opinion.
Anyway, I'm not deluding myself that this particular legal definition in Australia was not made in response to recent gender politics. It's more likely there for trans people than for a person who is biologically XXY and physiologically male. However, to say that it's "anti-science" to claim there are more than 2 sexes is mistaken. It is, as I said, an opinionated interpretation of a certain understanding of biology. You disagree with this opinion and you are mistaken when you say it is factually incorrect.
This form of reproduction is a biological phenomenon that shared by almost all complex life, and this understanding is uncontroversial amongst biologists. Stating that's it's an opinion is like saying that evolution is an opinion, or that the earth being a spherical mass orbiting around the sun is an opinion.
This is an opinion. Clearly there are at least some in Australia who have the opinion that they are indeed additional sexes or their passports wouldn't have more than 2 options. That's not "anti-science"; it is an opinionated interpretation of science.
Certainly the statement, "There are 2 sexes," simplifies the biological understanding we have of sex. To then add, "And that's all there is to it," makes the statement plainly wrong.