If you use the "Purge Unused" button within the parameters it will give you a list with all unused parameters. But if a parameters is not used within sketches or features and only used in iLogic it will also be added to the list.
It would be nice if Inventor also recognizes parameters used within iLogic, so you don't delete those by accident.
Attached is an example part that shows the problem. The parameter "Holes" is only used in iLogic to turn the holes on or off, but the parameter does end up in the list if you click on "Purge Unused".
Can't find what you're looking for? Ask the community or share your knowledge.