Masexual or Mansexual refers to the exclusive attraction to men. This definitely includes binary men, but it can also include masculine aligned non-binary individuals depending on the individual. The term was made with non-binary people in mind, so they don't have to use terms like "gay" or "straight" but binary individuals can use it as well.
Similar terms include mascic, viramoric, uranic, and minsexual.
Its counterpart is womasexual.