This comment appeals to a property of connected component in $\mathbb R^n$. I'm trying to see how it works. This property was also mentioned in this thread.
Theorem: A connected metric space $(E, d)$ with at least $2$ points has no isolated points.
Could you confirm if my below reasoning is correct?
Proof: Assume $a \in E$ is an isolated point of $E$. Fix $b\in E \setminus \{a\}$. There is $r>0$ such that $X :=B(a, r) = \{a\}$, which is both closed and open. On the other hand, $X \notin \{E, \emptyset \}$, which is a contradiction.