have a head for
Also, have a good or strong head for.
Be able to tolerate, as in Nell has no head for liquor, or Luckily I have a good head for heights. [Early 1800s]
Have a mental aptitude for, as in She has a good head for figures and straightened out the statistics in no time. [Early 1900s]