No, it is absolutely not illegal. Simply having Cheat Engine installed on your hard drive is perfectly legal, with no need to worry.
The nuance is in how it's used. The program can be used to crack software and bypass activation requirements, and that would be illegal. But merely possessing Cheat Engine itself breaks no laws.
Legend of Heroes: Fixes for Crashes, Blue Screens, DLL Errors, Audio, Video, Lag and Button Mapping
Grand Theft Auto V – Eleven Reliable Ways to Make Money
Hasla Herald: A Sensitive Issue
Bike Race Tips and Tricks for a Faster Time
Soulcalibur IV Guide: Characters, Strategies, Unlocks and Achievements