The operation of any law is not affected even though it provides that the incumbent of any religious or denominational institution or any member of its governing body should belong to that particular religion or denomination.