There is no one religion in India. People of minorities may not be comfortable going to a temple. Also, langars and temple food is pro bono and excellent volunteer work. It's not supposed to be relied upon to feed people below the poverty line.
That's not true, actually. I know of several temples that do not allow non-Hindus in, for example [0]. I don't necessarily have an opinion on that, but it's not as uncommon as you think. I hope we can keep this discussion from going down the rabbit hole of discrimination in temples.
In India every tradition has its own temples. Most are open to all and some are open for their devotees. It's quite easy to find many temples within a few kilometer radius.
Each temple have their own tradition and they have the right to their own tradition. Now, allowing a non-devotee into the temple is their business. But that doesn't mean, one cannot find any temple anywhere.