flight of ideas

noun
\ ˌflīt-əv-(ˌ)ī-ˈdē-əz How to pronounce flight of ideas (audio) \

Medical Definition of flight of ideas

: a rapid shifting of ideas with only superficial associative connections between them that is expressed as a disconnected rambling from subject to subject and occurs especially in the manic phase of bipolar disorder