"I pledge allegiance to the flag of the United States of America, and to the republic for which it stands, one nation under God, indivisible, with liberty and justice for all."
And in order for my grandparents and their peers to become United States citizens, not only did they have to pledge allegiance to their new country, they had to pass a history/citizenship test.
So, I don't see why anyone could protest something similar being demanded of Israeli citizens and potential citizens.
In all honesty, I would doubt the loyalty, the patriotism of anyone who finds such a demand, expectation, offensive. And those in public office who oppose an Israeli "pledge of allegiance to Israel as a Jewish State, I consider as subversive.