You use a defibrillator to reset a heart that is fibrillating. A fibrillating heart chamber isn't completely stopped, but it is completely nonfunctional. You can survive if you have fibrillation of your atria (Bill Bradley has atrial fibrillation, and astronaut Deke Slayton was grounded because of it), but ventricular fibrillation is another matter. If your ventricles don't pump blood correctly, you die. Quick. (A rule of thumb is that you lose ten percent of your chance for recovery for every minute that your heart is off-line.)
When a heart fibrillates, it doesn't beat. It jiggles or flutters. It lacks coordinated pumping action.
Fibrillation is largely an electrical problem. Electrical signals propagate along heart tissue to cause the heart to beat. In fibrillation, those signals go haywire, and some of them just keep going around and around the same tissue over and over.
Defibrillation resets the heart's electrical system. Defibrillation is basically DC (direct current) that resets the polarity of the cardiac cells. (Some forms of defibrillation send one DC jolt from the top [base] of the heart to the bottom [apex], followed promptly by another DC jolt from bottom to top.) Then, when a naturally occurring stimulation from the heart's natural pacemaker occurs, the stimulation propagates properly, and the heart resumes pumping.
Defibrillation will not help with certain heart conditions, such as pulseless electrical activity (PEA).
Mr. Randi is correct, in a conventional sense, in saying that persons can be brought back from heart stoppage with a defibrillator. When the ventricles fibrillate, the heart stops pumping. Unconsciousness results within seconds, and true death will result within minutes unless the problem is addressed. And Mr. Randi is correct in saying that defibrillation shocks the heart back into a beating mode, but it does so by electrically resetting the cardiac tissues.