IRS credit for Tax Payment omitted from Form 1040

Can I expect IRS to find & credit a Tax Payment made with Form 1040ES BUT omitted from Form 1040.  Tax year is 2018. Form 1040 is complete, but not yet filed. Correcting it , as well as, NY State Tax filing Form IT-203, will be difficult for me. Deadline for Form 1040x is Apr 15,  2022.  I have time to see if IRS makes the correction.