fun <T : Any> isNan(x: KtNDArray<T>): KtNDArray<Boolean>
Test element-wise for NaN and return result as a boolean array.