Green’s Dictionary of Slang

shit-for-brains n.

also dick-for-brains, poop-for-brains, shite-for-brains
[shit for brains phr.]

[1950s+] an all-purpose insult, a nickname for a stupid person.