Amphetamine is not an illegal drug in the US. It is available by prescription. Does Apple's statement mean illegal in any jurisdiction in any country? If the app was named something like "methamphetamine" (a different drug, illegal in the US) then Apple might have grounds to remove it under their policy.