added NaN test for logical_and
added NaN test for logical_or
added doc for logical_or and logical_and