cockeyed (adj.)
1821, "squint-eyed," perhaps from cock (v.) in some sense + eye (n.). Figurative sense of "absurd, askew, crazy" is from 1896; that of "drunk" is attested from 1926.