The voter’s rolls in Illinois list people by party affiliation including which primaries they voted in so unless things have changed ...
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.