Assuming you're referring to positive integers, note that you have
$$2^x \equiv y^2 \pmod 5 \tag{1}\label{eq1A}$$
Since $y$ can't be a multiple of $5$, you have $y^2$ being congruent to either $1$ or $4$ modulo $5$. However, this means that $x$ must be even, say $x = 2z$ for some integer $z$. Then you have
$$2^{2z} - y^2 = 15 \implies (2^z - y)(2^z + y) = 15 \tag{2}\label{eq2A}$$
Since $15 = 3 \times 5$, this leaves very few factors to check. In particular, since $0 \lt 2^z - y \lt 2^z + y$, you have
$$2^z - y = 1, 2^z + y = 15 \implies 2y = 14, y = 7, 2^z = 8, z = 3 \tag{3}\label{eq3A}$$
$$2^z - y = 3, 2^z + y = 5 \implies 2y = 2, y = 1, 2^z - 4, z = 2 \tag{4}\label{eq4A}$$
Thus, the only the solutions for $(x,y)$ are $(4,1)$ (i.e., $16 = 1 + 15$) and $(6,7)$ (i.e., $64 = 49 + 15$).