--- machine_translated: true machine_translated_rev: d734a8e46ddd7465886ba4133bff743c55190626 toc_priority: 37 toc_title: "\u8AD6\u7406" --- # 論理関数 {#logical-functions} 論理関数は任意の数値型を受け入れますが、uint8の数値を0または1に返します。 引数としてのゼロが考慮されます “false,” ゼロ以外の値は考慮されますが “true”. ## and、および演算子 {#and-and-operator} ## or、OR演算子 {#or-or-operator} ## not,not演算子 {#not-not-operator} ## xor {#xor} [元の記事](https://clickhouse.tech/docs/en/query_language/functions/logical_functions/)