pseudohermaphroditism

noun

1.
congenital condition in which a person has external genitalia of one sex and internal sex organs of the other sex