take leave of your senses
US /teɪk liːv əv jʊər ˈsɛnsɪz/
UK /teɪk liːv əv jʊər ˈsɛnsɪz/

1.
to start to act in a crazy or foolish way
:
•
Did you take leave of your senses when you decided to quit your job without a backup plan?
•
He must have taken leave of his senses to drive that fast in this weather.