The ISE is no longer supported. It'll still run, but without extensive work on your part to modify the things that make it work with PowerShell 5 it will not work with PowerShell 7.
You can find instructions on how to make it work with PowerShell 7, but you'll be much better off with using either VS Code or Visual Studio as your IDE.