Abnormal sex determination (HP_0012244, a Human Phenotype Ontology term) is anomaly of primary or secondary sexual development or characteristics.