This number is a prime.
The only 5-digit palindromic prime that is undulating and the sum of 3 consecutive primes (31643 + 31649 + 31657). Note that by adding 3 consecutive primes we only get one other undulating palindrome (16161), which is a non-prime. [Trotter]
Replacing each digit by its square root, or subtracting 2 from each digit, you will have two other palindromic primes formed from prime digits (32323, 72727). [Silva]