Boolean algebra reuses the logic connectives: \land for AND, \lor for OR and \lnot (or \neg) for NOT. Exclusive or is \oplus, and the constants are \top (true, 1) and \bot (false, 0). Digital-design and circuit texts prefer the algebraic style instead: A \cdot B or just AB for AND, A + B for OR, and a bar for negation, written \overline{A} for a whole expression or \bar{A} for a single letter. De Morgan’s law then reads \overline{A \cdot B} = \overline{A} + \overline{B}.
The less common gates have dedicated symbols in amssymb: \barwedge for NAND, \veebar for XOR, and the Sheffer stroke and Peirce arrow can be written as \uparrow and \downarrow. Implication and equivalence are \Rightarrow and \Leftrightarrow (or the spaced \implies, from amsmath, and \iff), and the Boolean domain is \mathbb{B} = \{0, 1\}.
Add \usepackage{amsmath, amssymb} to the preamble and keep every symbol in math mode. For truth tables, the tabular environment with $\land$ in the header row is enough. See our guide to mathematical expressions in LaTeX for spacing and alignment, and the logic symbols page for quantifiers and turnstiles.