To have a bee in the head ∨ in the bonnet Meaning, Definition & Usage

Definitions
  1. . (a) To be choleric. Obs. (b) To be restless or uneasy. B. Jonson. (c) To be full of fancies; to be a little crazy. "She's whiles crack-brained, and has a bee in her head." Sir W. Scott.

Webster 1913