def binarylist_to_integer(lst):
    """
    Convert a binary number in a form of a list to an integer.

    Parameters
    ----------
    lst : list
        List containing digits of a binary number.

    Returns
    -------
    int
        A decimal integer.
    """
    return int(''.join(map(str, lst)), 2)