Is Cheat Engine 5.3 Illegal?

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.