Registering to vote as a member of the democratic party : C. Prohibits you from voting in a republican primary election in a closed primary state
The one that allowed to vote in a closed primary state is the one that registered to that specific party
hope this helps