Dictionary.com
Thesaurus.com

mind like a steel trap, have a

Idioms  
  1. Be very quick to understand something, as in Aunt Ida may be old, but she still has a mind like a steel trap. This simile likens the snapping shut of an animal trap to a quick mental grasp.