A person who is intelligent, clever or quick-witted.
A person who exhibits an extraordinary ability in one subject (often mathematics) whilst being intellectually disabled in many other domains.