Efficient healthcare facility design is crucial for providing high-quality healthcare services. This study introduces an innovative approach that integrates artificial intelligence (AI) algorithms, specifically particle swarm optimization (PSO), with building information modeling (BIM) and digital twin technologies to enhance facility layout optimization. The methodology seamlessly integrates AI-driven layout optimization with the robust visualization, analysis, and real-time capabilities of BIM and digital twins. Through the convergence of AI algorithms, BIM, and digital twins, this framework empowers stakeholders to establish a virtual environment for the streamlined exploration and evaluation of diverse design options, significantly reducing the time and manual effort required for layout design. The PSO algorithm generates optimized 2D layouts, which are seamlessly transformed into 3D BIM models through visual programming in Dynamo. This transition enables stakeholders to visualize, analyze, and monitor designs comprehensively, facilitating well-informed decision-making and collaborative discussions. The study presents a comprehensive methodology that underscores the potential of AI, BIM, and digital twin integration, offering a path toward more efficient and effective facility design.