Fix a corner case of isclose usage

nt2 does not handle bool parameters for is_nan or isfinite...