# TI-Basic, 4 bytes not(fPart(√(Ans Simply checks if the square root is an integer by looking for a nonzero fractional/decimal part.