To be a pirate, the crime has to occur with a privately owned craft in international waters for “private gain”.
So, since most piracy occurs in coastal waters, and a great deal occurs under the cover of law of renegade states, and since “terrorists” can claim that they were doing it for ideological reasons rather than “private gain”, most pirates simply are defined out of existence.
Semantics