The incorrect problem definition often leads to the wrong solution. Therefore, in the course I teach at Universiti Malaya, we spend an inordinate amount of time talking about "problem definitions" for this very reason.
The ISA was a solution to a real problem: in the 1960s Malaya was faced with the genuine threat of an armed struggle to get rid of a newly formed and independent government.