I believe other answers assume a differentiable structure. Your statement also holds for topological manifolds, though it does require the invariance of domain.
Suppose $N \subset M$ is a submanifold with $\dim N = \dim M = n$. For each $x \in N$, choose open neighborhoods $U$ of $x$ in $M$ and $V$ of $x$ in $N$ that are both homeomorphic to $\mathbb{R}^n$. Let
$$
f: U \xrightarrow{\sim} \mathbb{R}^n,
\qquad
g: V \xrightarrow{\sim} \mathbb{R}^n
$$
be these homeomorphisms (note that $V$ is open in the subspace topology on $N$).
Now consider
$$
f \circ g^{-1} : g(U \cap V) \;\longrightarrow\; \mathbb{R}^n.
$$
Since $U \cap V$ is open in $N$, its image $g(U\cap V)$ is open in $\mathbb{R}^n$. By invariance of domain, $f(U\cap V)$ is then open in $\mathbb{R}^n$, which means $U\cap V$ is open in $M$. Because this holds for every $x\in N$, it follows that $N$ is open in $M$.