This is not going to be a complete answer, because you have not given much detail (what you've tried, how he gets the substances, how he's gotten around it and why, etc.) I'll modify the answer when additional information becomes available. I'll assume it's as bad as you say, and you've tried grounding, taking away privileges, etc., and nothing has worked.
He is 13, and he's on a pretty seriously life-threatening course (I'm concerned especially with the alcohol abuse, the blackouts, the illegality of his behavior, the quality of his life, and the life-threatening aspect of alcohol abuse. The marijuana use is concerning as well; but the alcohol abuse - and their combined use - is truly alarming.)
As with any life threatening situation, get him to a specialist. If he has not been in counseling, ask your pediatrician for the name of some adolescent therapists who deal in drugs and addiction, and make an appointment immediately. While he's still young, you have some control over his movements and his environment.
I want to emphasize that you've got a limited amount of time in which to act here. A child becomes an adult at 18, and there's very little you can do after that to force change of any kind.
Start treatment in an outpatient setting. (You might benefit from some help as well, on how to best deal with the child's behavior, setting realistic boundaries and consequences, negotiating contracts, etc., so that you don't lose hope/feel at your wit's end.)
Once you start treatment in an outpatient setting, if the you and the therapist feel outpatient therapy is working, great!
If the therapist thinks a substance-abuse program might help, then send him to one. That's one option. That option will probably be covered by insurance as well.
However, if the therapist feels outpatient therapy isn't working - which is something to take very seriously - please strongly consider a wilderness program. (Adolescent therapists and child psychiatrists dealing with drug-abuse will know some effective ones; if they don't, there are specialized consultants that can recommend the best program for your child - for a price.)
At-risk youth tend to be ill equipped to engage in traditional counseling interventions, which require them to be verbal and to disclose thoughts and feelings. Wilderness therapy, a specialized approach within adventure-based counseling, provides an alternative treatment modality that maximizes the client's tendency to spontaneously self-disclose in environments outside the counseling office.
I'm not talking about the more familiar "Outward Bound" type programs, or sloppy programs thrown together to make a buck (where there has been teen-abuse and even some deaths); I'm referring to true wilderness therapy programs as discussed in this article from the American Psychological Association webpage discussing the rationale:
That's because the wilderness is devoid of escape hatches: Hiding in one's room playing computer games is not an option. In addition, the longer stay helps break down defensive barriers, with young people typically going through an avoidance stage, a learning stage, and a stage in which they start to internalize healthier thinking and behavior patterns.
Getting at-risk teens out of their home environment - where friends and social pressures may reinforce self-destructive behaviors - is a potent tool, one you can still use in your child's teens. Once he moves out or turns 18, you have no such ability.
If you live in the US, the Substance Abuse and Mental Health Services Administration (SAMHSA) webpage and hotline can also be a source of good information.
Therapy gone wild
Wilderness Therapy as a Treatment Modality for At-Risk Youth: A Primer for Mental Health Counselors