Idiom
have taken leave of senseshave taken leave of (your) senses
old-fashioned if you have taken leave of your senses, you are behaving in a strange or silly way.You're leaving your family and your job to travel round the world, at your age? Have you taken leave of your senses?
(often used in questions)