18

Neim, 2 bytes
q𝕚
Explanation:
q Push an infinite list of squares
𝕚 Is the input in that list?
When I say 'infinite' I mean up until we hit the maximum value of longs (2^63-1). However, Neim is (slowly) transitioning to theoretically infinitely large BigIntegers.
Try it!