It is known that the Cantor set minus a point is (up to homeomorphisms) the unique zero-dimensional separable metric space without isolated points that is locally compact and not compact.
So take as $X$ the Cantor set and as $Y$ the Cantor set minus a point.
See also this math.stackexchange question.