In this study, we employ topological data analysis techniques on neural networks applied in COVID-19 detection, aiming to improve their predictive power. Leveraging the power of persistent homology, a mathematical tool for extracting topological features from intricate datasets, we turned chest X-ray images into a representation of the topological features. This representation was used to train and test the ability of neural networks to learn topological properties from images. We examine neural networks trained on chest radiographs containing both COVID-19 positive and negative cases. Our results suggest that, by identifying specific topological features correlated with COVID-19 detection, we may enhance the performance of the neural network models and analyze the underlying factors contributing to high accuracy rate of detection. The findings from this study contribute as exploratory advance in the field of medical imaging analysis and disease detection, showcasing the potential of topological analysis within neural networks.