Consider the set $\mathcal{S}$ defined as: $$ \mathcal{S} = \{(x,y)\in\mathbb{R}^2\lvert x^2-y<0, y< a \}\cup\{(0,0)\} $$ where $a > 0$. This set is not open nor closed. However, I'm confused regarding whether it is locally compact or not. The point $(0,0)$ obviously is the issue. It's not hard to show that it belongs to a relatively compact neighborhood in $\mathcal{S}$. In particular, a relatively open neighborhood containing $(0,0)$ is relatively compact (right?). Hence it satisfies the wiki definition here: https://en.wikipedia.org/wiki/Locally_compact_space#Formal_definition
So, is it locally compact?