avoir été bercé trop près du mur

Etymology
lit. 'to have been cradled too close to the wall', with the implication that one's head has been banged repeatedly against it, causing mental impairment.

Verb

 * 1)  to be simple-minded, to be dim-witted, to be stupid