Shomer (שומר) does not mean "guardian of Israel". It simply means "guardian". Traditionally, in orthodox religious communities, the shomrim were the guardians of religious tradition, practice and (last but not least) law. They were the guardians of religious law and it was their job to enforce said laws when secular law enforcement officials could not be relied upon to do so. They were, in effect, the religious police.