Wiktionary
thinking cap
n. (context humorous English) A supposed piece of headgear worn while one is think about how to solve a problem.
WordNet
thinking cap
n. a state in which one thinks