By default, Illustrator will use close a Pencil and Brush path. To close a Pencil path manually, hold down Option key when you are about to finish drawing the path.