presence of mind
presence of mind {n. phr.}
Effective and quick decision-making ability in times of crisis.
When Jimmy fell into the river, his father had the presence of mind to dive in after him and save him from drowning.
Categories:
Source: A Dictionary of American Idioms