Is it permitted to vote if your voting location is in a church?
One may enter a church to vote, provided it is not in the sanctuary, but rather they specifically set up a room for this purpose, e.g. the basement or a different room, since everyone knows that you are there to vote and not for anything else. This is only permitted if one has no other place to vote. If the location can be changed, it must be changed.
See Teshuvos V’hanhugos 2:410. Chayei Halevi 4:63.
See here on our website for a similar question and additional sources.