You can always assume your manifolds are connected, as you can always work on a connected component.

About the answer. Collect all neighbourhoods of points in with that property. Their union is exactly but also an open set in . So is open and closed in , giving .