(Is this even the right place to ask this) Maybe it's a strange thing to ask, but out of curiosity: what would it be called if someone was attracted to guys and genderqueer/non binary people but not to girls or to girls and genderqueer/non binary people but not to guys?
Usually still bi or pan sexual from what I've seen. Bi sexual can mean men, women, and others, or like me and unlike me, or attracted to more than one gender/sex. Pansexual is a different twist on those ideas, but I'll let a person who identifies as pan speak to that.
Some people call it bisexual (attraction to two genders) or you can use polysexual to avoid people misunderstanding what genders you like