Lift your bottom lip to touch the very bottom of your top front teeth. Blow air through this contact point without voicing.

Americans pronounce foil as FOYL (/fɔɪl/). The L in "foil" is a dark L — the back of the tongue rises toward the soft palate, adding a small "uh" quality before the L. This is called the Dark L vs Light L, and it's why Americans sound more relaxed than the textbook. It comes out as FOYL. You'll hear it in sentences like "The moisture in the oyster spoiled the foil".
Record yourself saying "foil" and play it back. The mic stays on your device — nothing's uploaded.
1 syllable, 3 sounds. Explore each sound's mouth shape and how it's made.
Lift your bottom lip to touch the very bottom of your top front teeth. Blow air through this contact point without voicing.

Start with rounded lips and tongue shifted back. Glide to relaxed lips with the tongue arching forward and up.
Keep the tongue tip down and pull the back of the tongue up toward the throat. The 'dark' sound comes from the back.

The textbook way isn't wrong — it's just not how anyone actually says it.
The L in "foil" is a dark L — the back of the tongue rises toward the soft palate, adding a small "uh" quality before the L. Dark L adds a small schwa-like "uh" before the L. The back of the tongue lifts toward the soft palate.