d = vec_any_nan(a)
Tests whether any element of the given vector is a NaN. The result is 1 if any element of a is a NaN. Otherwise, the result is 0.