The following is a widely accepted medical definition of ‘flight of ideas‘ as a sign of ‘major mental illness’:
“a rapid shifting of ideas with only superficial associative connections between them that is expressed as a disconnected rambling from subject to subject.”