ref
From dope(“stupid person”) + -y.
dopey (adj.)
"sluggish, stupefied," with or as with a narcotic drug; also "stupid" generally, 1896, from dope (n.) + -y (2). Related: Dopiness.