<abstract> <p>Heart disease, globally recognized as a leading cause of death, has seen its impact magnified by the emergence of COVID-19. The heightened demand for early detection and diagnosis of heart disease has forced the development of innovative, intelligent systems. This research offers a novel approach by leveraging extended short-term memory networks (LSTM) and including COVID-19 as a significant parameter in cardiac arrest analysis. A comparative study is conducted between LSTM and other prevalent techniques, such as support vector machines (SVM), linear regression (LR), and artificial neural networks (ANN), focusing on accuracy and other prognostic criteria for heart disease. We aim to develop an intelligent system powered by LSTM to predict heart disease, thereby assisting healthcare professionals in making well-informed decisions about heart disease management, stroke prevention, and patient monitoring. Additionally, hyperparameter tuning has been performed to optimize the LSTM model's performance in cardiac arrest prediction. The results underscore that LSTM, especially when trained with COVID-19 as an input parameter, surpasses other established techniques in prediction accuracy. The proposed model underwent experimental testing, showcasing its proficiency in predicting cardiovascular disease.</p> </abstract>