Wiktionary
brain-damaged
Etymology 1 a. Suffering from http://en.wikipedia.org/wiki/brain%20damage (an injury to the brain). Etymology 2
a. (context programming pejorative English) Poorly designed; obviously wrong; cretinous; demented.
Usage examples of "brain-damaged".
And the voice of authority did wonders, it had found, even for the terminally brain-damaged.