Let $M\subseteq\mathbb R^d$ for some $d\in\mathbb N$, $1\le k_1<k_2\le d$ and $\alpha\in\mathbb N_0\cup\{\infty\}$.
If for all $x\in M$, there a $C^\alpha$-diffeomorphism $\psi$ from an ($\mathbb R^d$)-open neighborhood $U$ of $x$ onto an open subset of $\mathbb R^d$ with$^1$ $$\psi(U\cap M)=\psi(U)\cap\left(\mathbb R^{k_1}\times\{0\}\right),\tag1$$ then we say that $M$ is a $k_1$-dimensional $C^\alpha$-submanifold.
If $M$ is an arbitrary subset of $\mathbb R^d$ and $x_i\in M$, it should clearly be possible$^2$ that there is a $C^\alpha$-diffeomorphism $\psi_i$ from an ($\mathbb R^d$)-open neighborhood $U_i$ of $x_i$ onto an open subset of $\mathbb R^d$ with $$\psi_i(U_i\cap M)=\psi_i(U_i)\cap\left(\mathbb R^{k_{\color{red}i}}\times\{0\}\right).\tag2$$ So, in order for the dimensionality notion for a submanifold to make sense, I guess we can somehow show that $\psi_1$ and $\psi_2$ as above cannot simultaneously exist, if $M$ is a $C^\alpha$-submanifold (i.e. if it is a $k_1$-dimensional $C^\alpha$-submanifold, only $\psi_1$ can exist). How can we prove that
$^1$ $0\in\mathbb R^{d-k_1}$ and hence $\mathbb R^{k_1}\times\{0\}\subseteq\mathbb R^d$.
$^2$ In fact, assuming $x_1\ne x_2$ and $U_1\cap U_2=\emptyset$, we just need to define $M:=U_1\cup U_2$.