Different building. He’s not visiting the SIKH temple “so Americans won’t think he’s a Muslim” (huh? why would they think that if it’s a Sikh temple?). But obviously, visiting a mosque...hey, that’s a whole different thing.
Now they won’t “think” he’s a Muslim, they’ll know he’s a Muslim.