<p dir="auto">logical_and   : Compute the truth value of x1 AND x2 element-wise.<br>
logical_or      :   Compute the truth value of x1 OR x2 `element-wise.</p>
<p dir="auto">So far, good, however, both show this in the Returns section</p>
<p dir="auto">y : ndarray or bool<br>
Boolean result of the logical OR operation applied to the elements of x1 and x2; the shape is determined by broadcasting. This is a scalar if both x1 and x2 are scalars.</p>
<p dir="auto">I am thinking that AND should be with logical_and and OR should be with logical_or</p>
<p dir="auto">np.<strong>version</strong>  # '1.17.2'<br>
sys.version  # '3.6.9 |Anaconda, Inc.| (default, Jul 30 2019, 14:00:49) [MSC v.1915 64 bit (AMD64)]' --&gt;</p>
<p dir="auto">The documentation for numpy.logical_and() has a minor typo. The 'return' field says</p>
<blockquote>
<p dir="auto">Boolean result of the logical OR operation applied to the elements of x1 and x2...</p>
</blockquote>
<p dir="auto">Whereas it should say</p>
<blockquote>
<p dir="auto">Boolean result of the logical <strong>AND</strong> operation applied to the elements of x1 and x2...</p>
</blockquote>
<p dir="auto">(emphasis mine)</p>
<h3 dir="auto">Numpy/Python version information:</h3>

<p dir="auto"><a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.logical_and.html" rel="nofollow">numpy v1.17 online documentation</a></p>