---
title: "logicalAnd"
sidebar_label: "logicalAnd"
description: "Kotlin binding reference: logicalAnd."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[Ops](index.md)/[logicalAnd](logicalAnd.md)

# logicalAnd

[common]\
fun [logicalAnd](logicalAnd.md)(input: [Tensor](../Tensor/index.md), other: [Tensor](../Tensor/index.md)): [Tensor](../Tensor/index.md)

`logicalAnd(input: Tensor, other: Tensor)`: the `logical_and` operator. Elementwise logical AND; non-Bool inputs read as `element != 0` before the logic, and the output is always `Bool` (output as `eq`).