def convertBinListToInt(bin_list):
    """
    Convert a binary list ([1, 0, 1, 0]) to an integer
    :param bin_list: Binary list
    :return: Integer representation of the binary list (integer)
    """
    dec = int("".join(map(str, bin_list)),2)
    return dec