In an open primary anyone can vote for any candidate in either party regardless of whether they are registered democrat or republican. In a closed primary you can only vote for someone in your registered party. a primary in which members of a party nominate its candidates by direct vote.