Are the two subspaces $X$ and $\operatorname{cl}(X)$ of Euclidean space $\mathbb R^2$ locally compact?
$$X = \{(x,\sin 1/x) \mid 0 < x \le 4\}\cup\{(x,\sin 1/x) \mid -4 \le x \lt 0\} \cup \{(0,0)\}$$
Clearly since $\operatorname{cl}(X)$ is closed and bounded so $\operatorname{cl}(X)$ is compact and thus locally compact.
However, I'm having trouble proving that $X$ is not locally compact. My conjecture is that I need to show there is no open set $U$ and compact set $C$ such that $(0,0) \in U \subset C$. But I can't come up with a rigorous proof for this part. How can I construct a written proof of this?
Hint. In a compact set in the plane every sequence has a convergent subsequence. For convenience, instead of an open ball, consider a rectangular neighborhood of $(0,0)$, $U=[-\epsilon,\epsilon]^2$ where $\epsilon>0$. Take $0<\delta<\epsilon$ and try to come up with a sequence $x_n\to 0$ such that $\delta=\sin1/{x_n}$ for all $n$. What does the sequence of points in the plane $(x_n,\sin1/{x_n})$ converge to? Is the limit of this sequence going to belong to $X$?