Literary critic Michael Maiwald identifies a "third-sex ideal" in one of the first African-American bestsellers, Claude McKay's Home to Harlem (1928) [REF].
Kurt Vonnegut's 1969 novel Slaughterhouse-Five identifies seven human sexes (not genders) in the fourth dimension required for reproduction including gay men, women over 65, and infants who died before their first birthday.