Thesaurus.com
Dictionary.com

having all one's marbles