There is a 'not"not marked as important'important" condition:
in:inbox -is:importantin:inbox -is:important
With minus you get the opposite results.
Create a custom filter with "in:inbox -is:important"in:inbox -is:important
in the filed "Has the words"Has the words
and skip the inbox and create a new label "not important"
Byeee.