It is “semi-closed”, which is sneaky. If you are registered with a party, you can only get that party’s ballot. But if you are not registered with any party, you can vote for anyone. In AZ, almost a third of voters are not registered with a party.
And yes, both Republicans and Democrats do not register with the State parties specifically so they can cross over and mess with the other party’s ballot.
So since the Democrats are not fielding any serious challenge, a lot of Democrats will abandon their party registration to vote for McCain, to stop J.D.
If Democrats wanted to affect the Republican primary, I would expect them to vote Hayworth who runs poorly in polling for the general and is much more likely to crash and burn before November.