Can a Non-Convert enter mosque?

Josie

I was told non-Muslims cannot enter mosque in Morocco. Here in America, I've heard of non-Muslim people that have entered and prayed in a mosque. Which is the correct practice? Please suggest ways a Non convert can become part of "the community" or get lessons on Qur'an/Islam?