Let $$ X = \{(x,y) \in \mathbb{R}^2: 0 \le x \le 1\} \quad Y = \{(x,y) \in \mathbb{R}^2: 0 \le x\}. $$
Are $X$ and $Y$ homeomorphic?
I first thought no because their boundaries are not homeomorphic however the argument is flawed because the theorem I want to use is:
If $X \cong Y$ then for $A \subseteq X$ $$ \partial_X (A) \cong \partial_Y(f(A)). $$ So applying this theorem would yield $$ \partial_X(X) \cong \partial_Y(Y) \implies \emptyset \cong \emptyset $$ which is not helpful. Any hints?