It is believed that the use of nanoparticles to assist the blood is one of the most essential strategies to combat cancer cells that are located inside the human body. This is accomplished by enclosing the cancer cells and subjecting the regions that are affected to heat, which kills the cells and makes it possible to dispose of them in a different manner. This study offers a mathematical depiction of the flow of blood that is supported by various nanoparticles (gold-Au, iron oxide-Fe3O4, and carbon nanotube particles-SWCNTs) as it travels through a vertical artery with varied undulation while being subjected to electric and magnetic fields. The modeling process was done by a set of nonlinear partial differential equations using the Poisson–Boltzmann equation and the momentum in both directions in addition to the heat equation. Some dimensionless parameters are used to linearize the system before being solved exactly with the assistance of Mathematica software. The hypothesis that the artery ripple is irregular, and that the artery is exposed to both magnetic and electric fields, in addition to using three different types of nanoparticles, represents a novelty of this work. The impact of these factors on the flow and streamlines inside the artery is observed by a set of graphs. The results tend to an augmentation in the transversal velocity may be seen in relation to the rise in nanoparticle concentration and the Grashof number, as opposed to the impact of the magnetic field, particularly in the context of unsteady flow. Moreover, the presence of irregularities in the artery leads to an increase in both longitudinal velocity and temperature while simultaneously diminishing the waviness of both parameters.