sapiosexuality
sapiosexuality is defined as:
1. (n.) A behavior of becoming attracted to or aroused by intelligence and its use.
Origins: From the Latin root sapien, wise or intelligent, and Latin sexualis, relating to the sexes.
from unwords.com, thanks bjornstar!