What does it mean to be an $L^1$ function?
Given a measurable space $X$ equipped with a measure $\mu$, a function $f : X \to \mathbb{C}$ which is defined almost everywhere (that is, up to a set of measure $0$) is said to be an element of $L^1$ if
$$\int_X |f| d\mu < \infty$$
More properly, we have to identify functions which are equal almost everywhere, so the elements of the Lebesgue space $L^1$ are really equivalence classes of functions under the relation of being almost everywhere equal - but this is a technical note.
Practically speaking, a real or complex valued measurable function on the real line with respect to Lebesgue measure is an element of $L^1$ if $$\int_{-\infty}^{\infty} |f(x)| dx < \infty$$ So a function like $\chi_{[0,1]}$ which is $1$ on $[0,1]$ and $0$ outside is in $L^1$, as is $e^{-x^2}$.
If $f$ is continuous enough, this coincides with the usual Riemann integral. Now it's fairly easy to prove that $$\int_{\mathbb{R}} |\sin x| dx$$ can't be finite, so $\sin x \notin L^1(\mathbb{R})$. In some sense, $L^1$ functions have to decay to $0$ at $\pm \infty$: In fact, one way to think of $L^1$ is that it's the completion of
$$C_C = \{\text{continuous functions supported on a compact set}\}$$
under the metric induced by integration (again, with slight technical caveats).
So in short, ignoring the technical definitions, $L^1$ functions are exactly those functions which have small enough spikes and decay fast enough that $\int |f| < \infty$.
An $L^1$ functional from a space $X$ to $\mathbb{R}$ is an $\mu$-measurable function such that $$ \int_{X} |f|\,d\mu < \infty. $$