The phrase "terrorist mastermind" refers to a person who is highly intelligent, skilled, and influential in planning and orchestrating acts of terror or violence against others. They are often the leaders or key figures behind terrorist attacks and have extensive knowledge in tactics and strategies.