Others have posted that you do not register by party, but rather request a part ballot at election time. As I wrote, I don’t know what is correct in Illinois.
Everyone gets the same ballot on election day, I live in Illinois and have never heard of getting a party ballot!