have a moonflaw in the brain
To act very strangely. A "moonflaw" is an obsolete term to describe an odd trait or behavior seemingly influenced by the moon. The way she runs about in a frenzy when the sun goes down makes me wonder if she has a moonflaw in the brain.