loopy

US /ˈluː.pi/
UK /ˈluː.pi/
1.

maluco

strange, unusual, or silly:

:
He must have gone completely loopy to give up a job like that.