In the Smart List dialog, select the advanced filter at the very bottom of the filters list.
Then select "matches" from the dropdown menu and add the following to the input field before saving.
numOpenTasks 0 <=
This means it will select all projects where the number of open tasks is smaller or equal to 0.
You can read more about how to set up advanced Smart List filters here:
Advanced Smart List Filters