Your question reads as disingenuous. In the case that you aren't: Sex can be determined biologically. Gender has a significant social component, and can't be determined through biology. For example: "Why is lipstick in the women's department at the store?" is not a question that can be answered through biology.
However, if you want examples of non-binary sex, that exists too: it's called intersex.